package com.study.test.single;


public class LazyTaskManage {

    private volatile static LazyTaskManage manage;

    private LazyTaskManage() {
    }

    public static LazyTaskManage getInstance() {
        if (manage == null) {
            synchronized (LazyTaskManage.class) {
                if (manage == null) {
                    manage = new LazyTaskManage();
                }
            }
        }
        return manage;
    }
}
